from fastapi import FastAPI
import uvicorn

app = FastAPI()

@app.get('/')
def read_root():
    return {'hello':'Hello world'}


if __name__ == '__main__':
    uvicorn.run('fastapi_test:app', host='127.0.0.1', port=2000, log_level='info')